package com.vishu.collections;

import java.util.Stack;

public class StackExample {
	
	public static void main(String args[])
	{
	Stack<Integer> st=new Stack<Integer>();
	st.push(1);
	st.push(2);
	st.push(3);
	
	System.out.println("Stack:"+st);
	st.pop();
	System.out.println("\n\nStack After pop:"+st);
	
	}

}
